package top.i89ck.modules.admin;

import com.jfinal.core.Controller;
import com.jfinal.core.Path;
import com.jfinal.upload.UploadFile;

/**
 * 文件上传
 *
 * @author Seiya
 */
@Path("admin/file")
public class FileController extends Controller {

    /**
     * 上传文件
     */
    public void upload() {
        UploadFile file = getFile();
        //file.getFile().compareTo(pathname)
        renderJson(file);
    }

}
